<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            background-color: red;
            border: 1px solid black;
            width: 100px;
            height: 100px;
            display: inline-block;
            /* float: left; */

            background-size: cover;
            /* margin: 30px 0px; */
            color: red;
        }

        .d1 {
            border: 5px dotted orange;
            box-sizing: border-box;
            background-image: url(./github.png);
            padding-top:30px;
            padding-left: 30px ;
            
            
        }

        .d2 {
            border: 5px double green;
            background-image: url(./java.png);
        }

        .d3 {
            border: 5px dashed green;
            background-image: url(./github.png);
        }
    </style>
</head>

<body>
    <div class="d1">
        fds
    </div>
    <div class="d2">
        dsadf
    </div>
    <div class="d3">
       fdsa
    </div>
</body>

</html>